[PHP] include not functioning like I am expecting
Posted
by bobber205
on Stack Overflow
See other posts from Stack Overflow
or by bobber205
Published on 2010-04-29T18:43:45Z
Indexed on
2010/04/29
18:47 UTC
Read the original article
Hit count: 216
The below gives my a fatal error saying that "mymail" was not found.
Any ideas why? Looks right to me. :P
mailreq.php
include("mail.php");
$r = mymail("test","test");
mail.php
function mymail($body, $reqtype)
{
//blah blah
}
© Stack Overflow or respective owner